package com.jpm.jroguefx.utilities.tools;

import com.jpm.jroguefx.types.MonsterAbility;

import java.util.Arrays;
import java.util.Comparator;
import java.util.TreeSet;

public class ExperienceGenerator {

    public static void main(String[] args) {


        TreeSet<MonsterAbility> ts = new TreeSet<>(new Comparator<MonsterAbility>() {
            @Override
            public int compare(MonsterAbility o1, MonsterAbility o2) {
                return o2.name().compareTo(o1.name());  //To change body of implemented methods use File | Settings | File Templates.
            }
        });

        ts.addAll(Arrays.asList(MonsterAbility.values()));

        for (MonsterAbility m : ts) {
            System.out.println(m.name() + ",");
        }
    }

}
